﻿@model Bug315.Models.WorkItemCreateVm
@{
    //Layout = null;
}

<div>
    <h2>
        @Model.Greeting
    </h2>
</div>
<div>
    @using (Html.BeginForm())
    { 
        <div>@Html.LabelFor(m =>m.Title)<br />
        @Html.TextBoxFor(m => m.Title)</div>
        <div>
        @Html.LabelFor(m => m.DateCreated)<br />
        @Html.TextBoxFor(m => m.DateCreated)
            </div>
        <div>
        @Html.LabelFor(m => m.Priority)<br />
        @Html.DropDownListFor(m => m.Priority, new SelectList(Model.Priority), "Choose Your Priority" )</div>
        <div>
        @Html.LabelFor(m => m.StepsToReproduce)<br />
        @Html.TextBoxFor(m => m.StepsToReproduce)</div>
        <div>
            <button type="submit" class="btn btn-danger">Submit</button>
        </div>
      }

</div>


